package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆类型
 */
public class CarType extends BaseEntity {

    private static final long serialVersionUID = 1L;


    private Long id;

    private String carCode;

    private String carTypeName;

    public CarType() {
    }

    public CarType(Long id, String carCode, String carTypeName) {
        this.id = id;
        this.carCode = carCode;
        this.carTypeName = carTypeName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCarCode() {
        return carCode;
    }

    public void setCarCode(String carCode) {
        this.carCode = carCode;
    }

    public String getCarTypeName() {
        return carTypeName;
    }

    public void setCarTypeName(String carTypeName) {
        this.carTypeName = carTypeName;
    }

    @Override
    public String toString() {
        return "CarType{" +
                "id=" + id +
                ", carCode='" + carCode + '\'' +
                ", carTypeName='" + carTypeName + '\'' +
                '}';
    }
}
